***Sets the open folder as working directory

cd "`c(pwd)'"
global root "`c(pwd)'"


**Creates a baseline dataset from raw data files

do "C:\Users\chupilkm\EBRD\OCE - Maxim\War data\Earthquakes replication\Do-files\Baseline dataset.do"

**Runs synthetic controls and creates datasets out of them

do "C:\Users\chupilkm\EBRD\OCE - Maxim\War data\Earthquakes replication\Do-files\Synthetic control datasets.do"

**Code that shows tables of summary statistics and list of earthquakes

do "C:\Users\chupilkm\EBRD\OCE - Maxim\War data\Earthquakes replication\Do-files\Tables.do"

**Aggregate analysis for Figure 1

do "C:\Users\chupilkm\EBRD\OCE - Maxim\War data\Earthquakes replication\Do-files\Aggregate analysis.do"

**Case-specific analysis for Figure 2

do "C:\Users\chupilkm\EBRD\OCE - Maxim\War data\Earthquakes replication\Do-files\Country specific analysis.do"